<!-- 第一步 -->

<template>
  <div class="row6 marginBottom">
    <EasyRow col2>
      <FormInput label="设备厂商" bind="manufacturerName" required />
    </EasyRow>

    <EasyRow col2>
      <FormSelect
        label="设备类别"
        bind="deviceCategoryId, deviceCategoryName, deviceCategoryCode"
        :dict="categoryDict"
        required
      />
    </EasyRow>

    <EasyRow col2>
      <FormSelect label="设备类型" bind="deviceTypeId, deviceTypeName, deviceTypeCode" :dict="typeDict" required />
    </EasyRow>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import FormSync from '@admin/views/System/IOT/IOTList/MyModal/FormSync'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'Step1',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],

  /**
   * 计算属性 (慎用箭头函数)
   */
  computed: FormSync.computed,
}
</script>
